package com.sunelec.mapper;

import com.sunelec.pojo.Electric;
import com.sunelec.pojo.ElectricExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ElectricMapper {
    int countByExample(ElectricExample example);

    int deleteByExample(ElectricExample example);

    int deleteByPrimaryKey(String electricId);

    int insert(Electric record);

    int insertSelective(Electric record);

    List<Electric> selectByExample(ElectricExample example);

    Electric selectByPrimaryKey(String electricId);

    int updateByExampleSelective(@Param("record") Electric record, @Param("example") ElectricExample example);

    int updateByExample(@Param("record") Electric record, @Param("example") ElectricExample example);

    int updateByPrimaryKeySelective(Electric record);

    int updateByPrimaryKey(Electric record);
}